package cn.edu.ujn.lab3.entity;

public class Page {
        private Integer idx;
        private Integer size;
        private Integer beginIdx;

        public Integer getBeginIdx() {
            return beginIdx;
        }

        public void setBeginIdx(Integer beginIdx) {
            this.beginIdx = beginIdx;
        }

        public Integer getIdx() {
            return idx;
        }

        public void setIdx(Integer idx) {
            this.idx = idx;
        }

        public Integer getSize() {
            return size;
        }

        public void setSize(Integer size) {
            this.size = size;
        }

        @Override
        public String toString() {
            return "Page{" +
                    "idx=" + idx +
                    ", size=" + size +
                    ", beginIdx=" + beginIdx +
                    '}';
        }
    }
